
<div class="bjui-pageHeader">
    <div class="toolBar">
        <div class="btn-group" role="group" aria-label="操作栏">
            <a type="utton" class="btn btn-success" href="${wwwroot}/admin/agent/add" data-toggle="navtab" data-id="form"><i class="fa fa-plus"></i>新增</a>
            <a type="button" class="btn btn-danger" href="${wwwroot}/admin/agent/delete?ids={#bjui-selected}" data-toggle="doajax" data-confirm-msg="确定要删除选中项吗？" data-id="form" data-mask="true"><i class="fa fa-trash-o"></i>删除选中行</a>
        </div>
    </div>
    <form id="pagerForm" data-toggle="ajaxsearch" action="${wwwroot}/admin/agent/list" method="post">
        <input type="hidden" name="pageSize" value="">
        <input type="hidden" name="pageCurrent" value="">
        <input type="hidden" name="orderField" value="">
        <input type="hidden" name="orderDirection" value="">
        <div class="bjui-searchBar">
            <label>代理名：</label><input type="text" id="name" name="name" value="${(agent.name)!}"  class="form-control" size="10">&nbsp;
            <label>ip：</label><input type="text" id="ip" name="ip" value="${(agent.ip)!}"  class="form-control" size="10">&nbsp;
            <#--<label>版本：</label><input type="text" id="version" name="version" value="${(agent.version)!}"  class="form-control" size="10">&nbsp;-->
            <#--<label>业务单元名称：</label><input type="text" id="bizUnitName" name="bizUnitName" value="${(agent.bizUnitName)!}"  class="form-control" size="10">&nbsp;-->
            <#--<label>是否启用：</label><input type="text" id="enable" name="enable" value="${(agent.enable)!}"  class="form-control" size="10">&nbsp;-->
            <#--<label>操作系统：</label><input type="text" id="opSystem" name="opSystem" value="${(agent.opSystem)!}"  class="form-control" size="10">&nbsp;-->
            <#--<label>系统级别：</label><input type="text" id="sysRank" name="sysRank" value="${(agent.sysRank)!}"  class="form-control" size="10">&nbsp;-->
            <#--<label>用户账号：</label><input type="text" id="userName" name="userName" value="${(agent.userName)!}"  class="form-control" size="10">&nbsp;-->
            <#--<label>密码：</label><input type="text" id="password" name="password" value="${(agent.password)!}"  class="form-control" size="10">&nbsp;-->
            <button type="submit" class="btn btn-primary" data-icon="search">查询</button>&nbsp;
            <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50">No.</th>
            <th data-order-direction="" data-order-field="name">代理名</th>
            <th data-order-direction="" data-order-field="ip">ip</th>
            <th data-order-direction="" data-order-field="version">版本</th>
            <th data-order-direction="" data-order-field="bizUnitName">业务单元名称</th>
            <th data-order-direction="" data-order-field="enable">是否启用</th>
            <th data-order-direction="" data-order-field="createDate">创建时间</th>
            <th data-order-direction="" data-order-field="opSystem">操作系统</th>
            <th data-order-direction="" data-order-field="sysRank">系统级别</th>
            <th width="100">操作</th>
        </tr>
        </thead>
        <tbody>
        <#list pageCtx.rows as row>
        <tr data-id="${(row.id)!}">
            <td>${(row_index+1)!}</td>
            <td title="${(row.name)!}">${(row.name)!}</td>
            <td title="${(row.ip)!}">${(row.ip)!}</td>
            <td title="${(row.version)!}">${(row.version)!}</td>
            <td title="${(row.bizUnitName)!}">${(row.bizUnitName)!}</td>
            <td><#if row.enable>是<#else>否</#if></td>
            <td title="${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}">${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
            <td title="${(row.opSystem)!}">${(row.opSystem)!}</td>
            <td title="${(row.sysRank)!}">${(row.sysRank)!}</td>
            <td>
                <a href="${wwwroot}/admin/agent/edit?id=${(row.id)!}" class="btn btn-blue" data-toggle="navtab" data-id="form" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="编辑">编辑</a>
                <a href="${wwwroot}/admin/agent/delete?ids=${(row.id)!}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a>
            </td>
        </tr>
        </#list>
        </tbody>
    </table>
</div>
<@p.pagination pageCtx=pageCtx pageParam=pageParam/>ss